package com.bookRecommend.service;

import com.bookRecommend.model.Admin;

import java.util.List;

public interface IAdminService {

    List<Admin> findAllAdmin();

    Admin findByAdmin(Admin admin);

    Admin findByUserNameANdPassword(String userName, String password);

    int addAdmin(String userName, String password);

    int modify( String password, Integer id);

}
